﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.Agent.OrderList" %>


<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" class="pageForm" runat="Server">


<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
        </ul>
	</div>
	<div class="tableList" layoutH="96">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
                <th width="80px">代理商</th>
                <th width="80px">时间</th>
                <th  width="80px">下单者</th>
			    <th width="120px">订单号</th>
				<th width="80px">订单总价</th>
				<th  width="120px">订单状态</th>
                <th width="100px">层级</th>
				<th  width="90px">提成金额</th>
				<th  width="100px">提成状态</th>
                <th width="80px">操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid" >
                    <td><input name="ids" value="<%#Eval("OrderNo")%>" type="checkbox"/></td>
				    <td><%# Eval("AgentAccount")%></td>
				    <td><%# Eval("RecordDate")%></td>
				    <td><%# Eval("MemberName")%></td>
				    <td><%# Eval("Orderno")%></td>
                    <td><%# Eval("Totalprice")%></td>
				    <td>
				    <%# ParamKit.GetValue("OrderPayStatus", Eval("PayStatus"), "&nbsp;")%>
				    <%# ParamKit.GetValue("OrderShippingStatus", Eval("ShippingStatus"), "&nbsp;")%>
				    <%# ParamKit.GetValue("OrderIsFinish", Eval("IsFinished"), "&nbsp;")%>
				    <%# ParamKit.GetValue("OrderIsCancel", Eval("IsCancelled"), "&nbsp;")%></td>
				    <td><%# Eval("RelationName")%></td>
                    <td><%# Eval("BonusAmount")%></td>
                    <td><%# Eval("Status") as string =="1"?"已生效":"未生效"%></td>
                    <td>
                    
				        <a href="/SystemManage/Basics/Shop/Order/OrderDetail.aspx?no=<%# Eval("OrderNo")%>&freshtabid=<%= _framePage.NavTabId %>" target="navTab" title="订单详情" rel="vieworder">查看</a>&nbsp;&nbsp;
				   
                    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
</div>
	
</div>
</form>
     <%= _framePage.GetPagerContentHtml("navTab", Request["cid"])%>